<!DOCTYPE HTML PUBLIC"-// W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title>
			Rezervacija hostela u Beogradu
        </title>
        <link rel="stylesheet" type="text/css" href="css/default.css" media="all"/>
    </head>


    <body>
        <div id="all">
             <div id="welcome">
            &nbsp;
            </div>
            <div id="header">
                <?php require 'pages/con_header.php'; ?>
            </div>
            <div id="slider">
                </div>
            <div id="search">
                        <?php require 'pages/con_search.php'; ?>
            </div>
            




        <div id="wrapper">
            <div id="content">	<!-- Ovo treba realizovati u PHP -->


                 <?php
                    if (isset($_GET['err'])){
                    $err=$_GET['err'];
                    echo '
                    <div id="error">';
                        switch ($err){
                            case 1: echo '<p>You have not filled out the field keyword correctly. Please go back and try again.</p>'; break;
                            case 2: echo '<p>You have not filled out the field price from correctly. Please go back and try again.</p>'; break;
                            case 3: echo '<p>You have not filled out the field price to correctly. Please go back and try again.</p>'; break;
                            case 4: echo '<p>You have not filled out the field rank from correctly. Please go back and try again.</p>'; break;
                            case 5: echo '<p>You have not filled out the field rank to correctly. Please go back and try again.</p>'; break;
                            case 6: echo '<p>The field price to you have filled out is smaller then the field price from. Please go back and try again.</p>'; break;
                            case 7: echo '<p>The field rank to you have filled out is smaller then the field rank from. Please go back and try again.</p>'; break;
                            case 8: echo '<p>No one hostel has found. Please go back and try again.</p>'; break;
                        }
                      echo'</div>';
                    }
                 ?>

                <?php require 'pages/con_hostels.php';?>
  
            </div>
        </div>

            <div id="banners">
                <?php require 'pages/con_baners.php'; ?>
            </div>

            <div id="footer">
                <p>Copyright &copy; 2011, Jaza and the unused kitchens</p>

            </div>

        </div>
    </body>
</html>
